package com.xk.school_device.entity;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author xk
 * @since 2025-04-16
 */
@Getter
@Setter
@Accessors(chain = true)
@ApiModel(value = "Assignments对象", description = "")
public class Assignments implements Serializable {

    private static final long serialVersionUID = 1L;

    private String assignmentId;

    @ApiModelProperty("设备ID")
    private String deviceId;

    @ApiModelProperty("目标部门")
    private String departmentId;

    @ApiModelProperty("领用人/部门ID")
    private String assignedTo;

    private String assignType;

    private LocalDate assignedDate;

    private LocalDate expectedReturnDate;

    private LocalDate actualReturnDate;

    private String status;

    @ApiModelProperty("操作人ID")
    private String assignerId;

    private LocalDateTime createdAt;
}
